//
//  NSObject+YSExtension.m
//  YSKitDemo
//
//  Created by Kyson on 2018/9/25.
//  Copyright © 2018年 YangShen. All rights reserved.
//

#import "NSObject+YSExtension.h"
#import <objc/runtime.h>

@implementation NSObject (YSExtension)

+ (NSString *)className {
    return NSStringFromClass(self);
}

- (NSString *)className {
    return [NSString stringWithUTF8String:class_getName([self class])];
}

@end
